<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 日志设置
// +----------------------------------------------------------------------
return [
    // 日志记录方式，内置 file socket 支持扩展
    'type'  => 'File',
    // 日志保存目录
    'path'  => '',
    'file_size'     =>2097152,
    // 日志记录级别
    'level' => ['error','sql'],
    //分开记录
    'apart_level' => true,
    'json'	=>	true,
    'max_files'	=>	30,
    'LOG_RECORD'=>true,
    'LOG_LEVEL' =>'EMERG,ALERT,CRIT,ERR'
];
